package liziy.spring.core.classreading.type;

/**
 * @author Liziy
 * @date 2020/12/17 16:28
 **/
public interface ClassMetadate {
    boolean isInterface();
    boolean isAbstract();
    String getBeanName();
    Class<?> getBeanClass();

    /**
     * 默认方法为判断非接口或者抽象就是一个具体的类
     * @return
     */
    default boolean isConcrete() {
        return (!(isAbstract() || isInterface()));
    }


}
